type Reverse<T> = (...arg: any) => T;
/**
 * 获取函数返回值类型
 * @param _function
 * @returns
 * 用法：
 * const reType = returnType(useState);
 * type ReType = typeof reType;
 */
export const returnType = <T>(_function: Reverse<T>) => {
  return {} as T;
};
